package com.ruoyi.lock.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 开锁日志表对象 a_logs
 * 
 * @author ruoyi
 * @date 2024-08-05
 */
@Data
public class ALogs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String mac;

    /** 日志id */
    @Excel(name = "日志id")
    private String logId;

    /** 日志记录时间 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日志记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String lockTime;

    /** 日志类型 */
    @Excel(name = "日志类型")
    private Long logType;

    /** 电量百分比 */
    @Excel(name = "电量百分比")
    private String power;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String trackId;

    /** 一次性密码 */
    @Excel(name = "一次性密码")
    private String oncePwd;

    /** 操作 */
    private String action;

    /** 日志钥匙id */
    private String keyId;

    /** 租户姓名 */
    private String tenantName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    private Long homeId;
    private Long roomId;
    private Long userId;
    private Long unitId;
    private Long floorId;
    private String type;
    private String uniCode;
    private String cellName;
    private String unitName;
    private String floorName;
    private String roomName;

    private Long cellId;//小区
    private Integer pageNum;
    private Integer pageSize;


}
